{% extends 'studentTemp.html' %}

{% block content %}
    <div class="bs-example" data-example-id="panel-without-body-with-table">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h3>{{ title }}</h3>
                        </div>
                        <table class="table table-bordered table-condensed table1" style="text-align: center">
                            <thead>
                                <tr class="highlight">
                                    <th>节次</th>
                                    <th>星期一</th>
                                    <th>星期二</th>
                                    <th>星期三</th>
                                    <th>星期四</th>
                                    <th>星期五</th>
                                </tr>
                            </thead>
                            <tbody>
                              {% for i in form %}
                                <tr>
                                    <td>{{ i.sections }}</td>
                                    <td>{{ i.monday }}</td>
                                    <td>{{ i.tuesday }}</td>
                                    <td>{{ i.wednesday }}</td>
                                    <td>{{ i.thursday }}</td>
                                    <td>{{ i.friday }}</td>
                                </tr>
                              {% endfor %}

                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
{% endblock content %}